<?php


namespace app\model;


class Banner extends BaseModel
{
    public function image()
    {
        return $this->hasOne(Image::class, 'id', 'img_id');
    }
}